#include <ports.h>


unsigned char inb(unsigned short _port) {
    unsigned char result;
__asm__ ("in %%dx, %%al" : "=a" (result) : "d" (_port));
    return result;
}


